const Route = require('koa-router')

const { addRank,getPageFunction,getRankDetail,editRank,getRank } = require('../controller/rankSys.js')
const router = new Route()
router.post('/add', addRank)
router.get('/getRankDetail', getRankDetail)
router.get('/getFn',getPageFunction)
router.post('/editRank',editRank)
router.get('/getRank',getRank)

module.exports = router